import { mapState, mapMutations } from 'vuex';

export default {
    computed: {
        ...mapState({
            userInfo: state => state.System.userInfo
        })
    },
    methods: {
        ...mapMutations({
            modifyUserInfo: 'System/modifyUserInfo',
            setUserInfo: 'System/setUserInfo',
        }),
    }
}
